package com.tabjin.rfidsocket.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * arch_project_user
 * @author 
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name="arch_building_house")
public class ArchBuildingHouse implements Serializable {
    @Id
    private Integer id;

    /**
     * 项目id
     */
    @Column(name = "building_id")
    private Integer buildingId;

    /**
     * 用户id
     */
    @Column(name = "house_id")
    private Integer houseId;

    /**
     * 操作者
     */
    private String operator;

    /**
     * 最后一次更新的时间
     */
    @Column(name = "operate_time")
    private Date operateTime;

    /**
     * 最后一次更新者的ip
     */
    @Column(name = "operate_ip")
    private String operateIp;

    private static final long serialVersionUID = 1L;
}